<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>订单确认页-美丽说</title>
	<link rel="stylesheet" type="text/css" href="__TEMPLATE__/css/cart.css"/>
	<script type="text/javascript" src="__TEMPLATE__/js/address.js"></script>
	<script type="text/javascript" src="__STATIC__/jquery/jquery-1.7.2.min.js"></script>
<script language="javascript" src="__TEMPLATE__/js/meilishuo.js"></script>
	
</head>
<body>
	<!--顶部登录注册区域开始-->
	<div id="del_one">
		<a href="javascript:;" class="click"><img style="width: 18px;height: 18px;" src="__TEMPLATE__/img/click.jpg" alt="" /></a>
		<h4>提示</h4>
		<p>请填写收货人信息</p>
		<div>
			<a class="con" href="javascript:;">确定</a><a style="background: #ccc;" class="canc" href="javascript:;">取消</a>
		</div>

	</div>
	<div id="top">
		<div class="head">
			<ul class="container">
				<if value="$hd.session.username && $hd.session.uid">
					<li><a class="out" href="{|U:'Member/out'}">退出</a></li>
					<li class="myself"><a  href=""><img src="__TEMPLATE__/img/my_face.jpg" class="my_face" alt="" />{$hd.session.username}</a></li>
					<li><a href=""><span class="my_love"></span>我的喜欢</a></li>
				<else/>
				<li><a class="first" href=""><span class="weixin"></span>微信登陆</a></li>
				<li><a href=""><span class="qq"></span>QQ登陆</a></li>
				<li><a href="{|U:'Member/login'}">登陆</a></li>
				<li><a href="{|U:'Member/register'}">注册</a></li>
				</if>
				<li><a href="{|U:'Cart/ajax_add_cart'}"><span class="my_car"></span>我的购物车<i class="num"><if value="$_SESSION['cart']['goods']"> <?php  echo count($_SESSION['cart']['goods']) ?><else/>0</if> </i></a></li>
				<li><a href="{|U:'Porder/index'}"><span class="my_order"></span>我的订单</a></li>
				<li><a href=""><span class="download"></span>下载App</a></li>
				<li><a class="custom" href="">客户服务</a></li>
			</ul>
		</div>
	</div>
	<!--顶部登录注册结束-->
	
	<!--头部流程图开始-->
	<div id="head">
		<img src="__TEMPLATE__/img/logo.png" alt="" />
		<div class="process">
			<img src="__TEMPLATE__/img/process2.png" alt="" />
			<span style="color: #BFBFBF;" class="first">我的购物车</span>
			<span style="color:#FF6699;">填写核对订单信息</span>
			<span>付款，完成购买</span>
		</div><!--process-->
	</div><!--head-->
	<!--头部流程图结束-->
	
	<!--确认收货地址开始-->
	
	<div id="address">
		<p class="title">确认收货地址</p>
		<form action="{|U:'Address/add'}" method="post">
		<foreach from='$address' key='$k' value='$v'>
		<div class="new_address">
			<label class="checkbox-inline">
  			<input class="tick" type="radio" <if value="$v.defau eq 1">checked</if> name='address' id="" value="option1">
  			<span class="addr" >{$v.address}</span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="consig">{$v.ctc}</span>&nbsp;&nbsp;&nbsp;联系方式&nbsp;<span>{$v.tel}</span>
			</label>
		</div><!--new_address-->
		</foreach>
		<div class="new_address add_address">
			<label class="checkbox-inline">
  <input class="tick" type="radio" name='address' id="new_address" value="option1">&nbsp;使用新地址
				</label>
		</div><!--new_address-->
		<div style="display: none;" class="outer">
		<div class="location">
			<span><b>*</b>所在地：</span><select name="province" id="s1"> <option>请选择</option> </select>
			<select name="city" id="s2"> <option>请选择</option> </select>
			<select name="county" id="s3"> <option>请选择</option> </select>
		</div><!--location-->
		<div class="street">
			<span><b>*</b>街道地址：</span><input name="street" class="long" type="text" />
		</div><!--street-->
		<div class="receipt">
			<span><b>*</b>收件人：</span><input name="ctc" type="text" />
		</div><!--receipt-->
		<div class="phone">
			<span><b>*</b>联系电话：</span><input name="tel" type="text" />
		</div><!--phone-->
		<div class="save">
			<input class="sub" type="submit" value="保存并使用" />
			<!--<a href="javascript:;" class="sub">保存并使用</a>-->
			<input class="can" type="button" value="取消" />
			<label class="checkbox-inline">
  <input class="tick" type="checkbox" name="defau" id="inlineCheckbox1" value="1">设为默认
				</label>
		</div><!--save-->
		</div>
		</form>
		
	</div><!--address-->
	
	<!--确认收货地址结束-->
	
	
	<!--选择支付方式开始-->
	<div id="pay_way">
		<label class="checkbox-inline">
  <input type="radio" checked="checked" name="pay" id="" /><img src="__TEMPLATE__/img/weixinpay.jpg" alt="" />
		</label>
		<label class="checkbox-inline">
  <input type="radio" name="pay" id="" /><img src="__TEMPLATE__/img/tenpay.jpg" alt="" />
		</label>
		<label class="checkbox-inline">
  <input type="radio" name="pay" id="" /><img src="__TEMPLATE__/img/alipay.jpg" alt="" />
		</label>
		<label class="checkbox-inline">
  <input type="radio" name="pay" id="" /><img src="__TEMPLATE__/img/chinapay.jpg" alt="" />
		</label>
		<label class="checkbox-inline">
  <input type="radio" name="pay" id="" /><img src="__TEMPLATE__/img/qufenqipay.jpg" alt="" />
		</label>

	</div><!--pay_way-->
	
	<!--选择支付方式结束-->
	
	<!--商品详情-->
	<div id="goods">
		<form id="lostblur" action="{|U:'Porder/add',array('sid'=>$_GET['sid'])}" method="post">
			<table  cellpadding="0" cellspacing="0">
				<tr style="border: 1px solid red;"  class="first" >
					<td></td>
					<td  >商品清单</td>
					
				</tr>
				<tr class="second">
					<th width="21px"></th>
					<th width="404px">商品信息</th>
					<th width="102px">单价（元）</th>
					<th width="291px">数量</th>
					<th width="140px">小计</th>
					<th width="21px"></th>
				</tr>
				<tr>
					<td>&nbsp;</td>

				</tr>
				<foreach from='$order' key='$k' value='$v'>
				
					<tr  class="four">
						<td></td>
						<td><span>商家：vastand维尚</span></td>
					</tr>
					<tr style="font-size: 12px;" class="five">
						<td></td>
						<td ><a href="{|U:'Show/index',array('gid'=>$v['id'])}"><img style="width: 70px;height: 70px;" src="__ROOT__/{$v.lthubm}" alt="" /><p>{$v.name}</p></a>
							<foreach from='$v["options"]' key='$key' value='$value'>
							<span>{$value}</span>
							</foreach>
						</td>
						<td>{$v.price}</td>
						<td>{$v.num}</td>
						<td>{$v.total}</td>
						<td></td>
					</tr>
					<tr  class="six">
						<td></td>
						<td  style="font-size: 12px;color: #666;">购买留言：<input placeholder="选填：建议填写已经与卖家达成一致的说明" style="color: #666;" name="note[]" type="" /></td>
						<td style="font-size: 12px;color: #666;">运费：免运费</td>
						<td></td>
						<td>0.00</td>
						<td></td>
					</tr>
				</foreach>	
				<tr  class="seven">
					<td  style="font-size: 12px;color: #666;" colspan="5"><span>共{$data.num}件商品，	店铺合计：<b>{$data.total}</b>元</span></td>
					
					<td></td>
				</tr>
				<tr  class="nine">
					<td></td>
					<td  style="font-size: 12px;color: #666;" colspan="5">
						<div class="float_right">
							<a href="{|U:'Cart/ajax_add_cart'}"><<返回购物车</a>
							<span>商品总价：</span>
							<b>{$data.total}</b>
							<input id="sub_order" type="submit" value="提交订单"/>
						</div><!--float_right-->
						<input type="hidden" class="haddr" name="address" value="{$address.0.address}" />
						<input type="hidden" class="hconsig" name="consignee" value="{$address.0.ctc}" />
					</td>
				</tr>
			</table>
		</form>
	</div><!--goods-->
	
	<!--商品详情结束-->
	
	
	<!--底部开始-->
		<div id="last">
		<ul class="head">
			<li class="first">
				<p class="title">4000-800-577</p>
				<p>美丽说客服热线</p>
				<p class="time">周一至周日：08:00-22:00</p>
			</li>
			<li>
				<p class="title">用户帮助</p>
				<a href="">新手指南</a>
				<a href="">网站地图</a>
				<a href="">意见反馈</a>
			</li>
			<li>
				<p class="title">关于我们</p>
				<a href="">关于美丽说</a>
				<a href="">联系我们</a>
				<a href="">加入美丽说</a>
				<a href="">商家进驻</a>
				<a href="">商家推广</a>
			</li>
			<li class="focus">
				<p class="title">关注我们</p>
				<a href=""><span class="xin"></span>新浪微博</a>
				<a href=""><span class="qq"></span>QQ空间</a>
				<a href=""><span class="teng"></span>腾讯微博</a>
			</li>
			<li class="">
				<p class="title">美丽说微信服务号</p>
				<img src="__TEMPLATE__/img/er.jpg" alt="" />
				
			</li>
			<li class="last">
				<p class="title">美丽说客户端下载</p>
				<a href=""><img src="__TEMPLATE__/img/download.png" alt="" /></a>
				
			</li>
		</ul><!--head-->
		<ul class="flink">
			<li>友情链接：</li>
			<li><a href="">乐淘网</a></li>
			<li><a href="">马可波罗悠哉旅游网</a></li>
			<li><a href="">优惠券应用汇</a></li>
			<li><a href="">爱乐活蜜芽宝贝</a></li>
			<li><a href="">趣分期大学生分期购物</a></li>
			<li><a href="">名鞋库</a></li>
			<li class="more"><a href="">更多&gt;&gt;</a></li>
		</ul><!--flink-->
		<div class="record">
			<p>Copyright ©2015 Meilishuo.com<a href="">电信与信息服务业务经营许可证100798号</a><a href="">企业法人营业执照</a>京ICP备11031139号  京公网安备110108006045 </p>
			<p>客服邮箱：kf@meilishuo.com  客服电话：4000-800-577  文明办网文明上网举报电话：010-82615762<a href="">违法不良信息举报中心</a><a href="">我最喜爱的人民警察评选&gt;&gt;</a></p>
		</div><!--record-->
	</div><!--last-->
	
	
	<!--底部结束-->
	
	
	
	
	
	
	
</body>
</html>